Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for failing avalon-count FPCalculator #111

Merged
merged 2 commits into from
Nov 27, 2024

Conversation

alkorolyov-selvita
Copy link
Contributor

Avalon-count calculator fails to initialize due to missing default params in FP_DEF_PARAMS dictionary. Simple fix by adding default parameters for avalon-count fingerprints.

Changelogs

Updated FP_DEF_PARAMS dictionary.

Avalon count calculator fails due to missing default params in FP_DEF_PARAMS dictionary. Simple fix by adding default parameters for avalon-count fingerprints.
Copy link
Contributor

@zhu0619 zhu0619 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alkorolyov-selvita
Thank you for fixing this!
Could you format the code using black molfeat/calc/fingerprints.py?
The installation: pip install black>=24

@alkorolyov-selvita
Copy link
Contributor Author

Hi @zhu0619
No problem. I have tried running black molfeat/calc/fingerprints.py
But it seems to have no effect:

black molfeat/calc/fingerprints.py
All done! ✨ 🍰 ✨
1 file left unchanged.

reformatted fingerprint.py with black[jupyter]
@alkorolyov-selvita
Copy link
Contributor Author

@zhu0619
By examining failing test logs it seems that it needed pip install black[jupyter]. Now black changed the file and tests should run correctly.

@zhu0619 zhu0619 merged commit 0e06ba2 into datamol-io:main Nov 27, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants